﻿#region Using

using CommunicationLibrary.TransportData;

#endregion

namespace GameNetwork
{
    public delegate void GameWonEventHandler(Player player);

    public delegate void GameLostEventHandler(Player player);

    public delegate void GameLostByOtherPlayerEventHandler(Player player);

    public delegate void ConnectionErrorEventHandler();

    internal delegate void NetworkGameStartedEventHandler();

    internal delegate void NetworkGameWonEventHandler();

    internal delegate void NetworkGameLostEventHandler(int id);
    
    internal delegate void NetworkGameReadyEventHandler(GameState gameState, int id);

    internal delegate void NetworkConnectionErrorEventHandler();
}